import 'dart:convert';

import 'package:enterprise_v6_app/app/data/entities/application/execute_entity.dart';
import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/receipt_info_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/receipt_info_entity.g.dart';

@JsonSerializable()
class ReceiptInfoEntity {

	ReceiptInfoEntity();

	factory ReceiptInfoEntity.fromJson(Map<String, dynamic> json) => $ReceiptInfoEntityFromJson(json);
	String? id = '';
	String? companyCode = '';
	String? ticketNo = '';
	String? ticketName = '';
	String? planStartDate = '';
	String? planEndDate = '';
	String? departmentId = '';
	String? departmentName = '';
	String? applyDepartmentId = '';
	String? applyDepartmentName = '';
	String? ticketContent = '';
	String? ticketAddress = '';
	String? identityUserId = '';
	String? identityUserName = '';
	String? ticketSource = '';
	String? applyUserId = '';
	String? applyUserName = '';
	ExecuteEntity? receiptInfo;

	Map<String, dynamic> toJson() => $ReceiptInfoEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
